package com.personnalManagerSystem.service.impl;

import com.personnalManagerSystem.model.Wage;
import com.personnalManagerSystem.mapper.WageMapper;
import com.personnalManagerSystem.service.IWageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liqing
 * @since 2022-03-27
 */
@Service
public class WageServiceImpl extends ServiceImpl<WageMapper, Wage> implements IWageService {
    @Autowired
    WageMapper wageMapper;
    @Override
    public Boolean getTotalSalary(Integer id) {
        return wageMapper.getTotalSalary(id);
    }
}
